package hk.linkcredit.walletservice.wallet.service;

import com.alibaba.fastjson2.JSONObject;
import hk.linkcredit.walletservice.wallet.domain.vo.WalletOrderReq;
import hk.linkcredit.walletservice.wallet.domain.vo.WalletRepayReq;
import hk.linkcredit.walletservice.wallet.domain.vo.WalletWithdrawReq;

/**
 * @Author: jamnsin
 * @Date: 2022/6/12 22:49
 */
public interface WalletService {

    JSONObject walletWithdraw(String orderType, WalletWithdrawReq walletWithdrawReq);

    JSONObject walletRepay(String orderType, WalletRepayReq walletRepayReq);

    void updateWalletOrder(WalletOrderReq walletOrdereq);

}
